Machine for inspecting rotating glass containers with light source triggered multiple times during camera exposure time

ABSTRACT

A machine for inspecting glass containers rotating at an inspection station. A camera images an area of interest on the glass container and continuous illumination of that area is provided by strobing a light source a number of times while the area is imaged on a camera the entire period.

The present invention relates to machines, which inspect glass containers for defects, and more particularly, to a system which inspects for cracks in translucent glass containers.

BACKGROUND OF THE INVENTION

In the glass container industry, small cracks or fracture in the glass are referred to as “check defects”. Checks can range from sub millimeters to several hundred millimeters and can be oriented at any direction from vertical to horizontal. Glass is not a crystalline structure by nature, but most cracks propagate roughly along a plane of some orientation in space mostly determined by the shape of the glass at that location. For example, a crack that began as a vertical crack at the upper surface of the mouth primarily propagates in a vertical plane. Checks can appear in any orientation and on any portion of a container and can exist wholly within the glass or may penetrate to one or both surfaces. Checks are considered phase objects and do not absorb light like a solid objects does. Checks are primarily reflective in nature if their opposed surface separation is at least half a wavelength of light. However, very few checks with a smaller separation will reflect light and accordingly they will not likely be detectable by direct reflection methods, but they might have scattering points when they penetrate to the one or both surfaces of the container and will scatter light back to the sensors.

Most of these crack defects will drastically weaken the bottle, often causing it to rupture or to leak. Therefore, bottle manufactures like to remove these containers before they reach filing plants. Checks appearing near the mouth of the containers are called finish checks. In the glass bottle industry, the term “container finish” refers to the portion of the bottle that defines the mouth, threads or beads, and the ring. The upper surface of the mouth is referred as the sealing surface.

Almost all commercially available check detectors work on the principle of reflected light. A conventional check detector consists of a series of continuously operating light spot light sources and associated photodetectors that are positioned so that known checks on a bottle rotating at an inspection station will reflect light from one of the sources to one of the photo-detectors. Signal processing of the photodetector outputs recovers the sharp peaks while rejecting lower frequency signal variations caused by ambient light, reflection from the bottle sidewall, etc.

While commercially available check detectors are successfully deployed on most glass bottle production lines, there are several drawbacks to the approach. A few of those are: many point sensors are required for many possible reflection angles; some sensor angles are difficult to position; additional sensors and lights need to be added as more production defects appear; time consuming setup is required for each type of container; and the difficulty of reproducing the same setup from one inspection line to another.

The following U.S. Pat. Nos. 4,701,612, 4,945,228, 4,958,223, 5,020,908, 5,200,801, 5,895,911, 6,104,482, 6,211,952, and 6,275,287 all relate to devices that detect defects in the finish of a container.

OBJECT OF THE INVENTION

It is an object of the present invention to provide an apparatus for inspecting glass containers, which can detect vertical, horizontal, and any other angle cracks on a bottle which is user friendly and easily adjusted. Another object of this invention is to provide a detector that can detect known types of checks and also any new checks without specific setup requirements.

Other objects and advantages of the present portion of this invention will become apparent from the following accompanying drawings which illustrate, in accordance with the mandate of the patent statutes, a presently preferred embodiment incorporating the principles of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will become apparent from the following accompanying drawings which illustrate, in accordance with the mandate of the patent statutes, a presently preferred embodiment.

FIG. 1 is an oblique elevational schematic view of an inspection station of a machine for inspecting glass containers for checks and other defects, made in accordance with the teachings of the present invention.

FIG. 2 is a block diagram showing the operation of the pairs of light sources and camera shown in FIG. 1;

FIG. 3 is a schematic top view of the container at the inspection station showing the light axes of a pair of light sources and the camera.

FIG. 4 is a schematic elevational view showing the light axes of the light sources and camera shown in FIG. 3.

FIG. 5 is a logic diagram illustrating the operation of the camera system of the inspection machine;

FIG. 6 is a logic diagram illustrating the operation of the lighting system of the inspection machine;

FIG. 7 is a timing diagram illustrating the operation of the light sources;

FIG. 8 is a side elevational view of one of the light sources; and

FIG. 9 is an elevational view showing how the LED's of one of the light sources are aimed toward the finish.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

In a machine for inspecting glass containers (bottles), the containers 10 are transported along a conveyor 12 to an inspection station illustrated in FIG. 1. The conveyor may be a linear belt or a turret type feed system. A container 10 is engaged by upper and lower rear pairs of idler rollers 14 and a front drive wheel 16 so that rotation of the drive wheel in the clockwise direction will rotate the container in the counterclockwise direction. There is conveyor dwell of sufficient duration at the inspection machine so that the container can be rotated more than 360 degrees while the inspection takes place. A container present sensor 18 will sense the presence of a container at the inspection station (the sensor can be upstream and the actual presence of the container at the inspection station could be defined by an encoder count following the sensing of the container by the upstream part present sensor. Light sources (Light Source #1/20 (see FIGS. 1 and 2) and Light Source #2/21) illuminate the finish portion of the container and a Camera/22 images the finish portion.

FIG. 2 illustrates the operation of the Camera and Light Sources. A Computer 24 delivers On/Off signals to Light Source #1/20 and Light Source #2/21 and delivers Camera Trigger signals to the Camera/22. The Camera has a matrix array of elements (pixels) to receive an image of the finish portion of the container during the Camera's exposure period. The Camera could be a CCD, MOS or like camera which will store an image until the next Trigger Signal. When a Trigger Signal is received, the existing image will be captured and transferred, as an “Acquisition”, to the Computer so that it can be recorded and processed by the Computer. The Computer will issue a Reject Signal if a defect is identified.

As can be seen from FIGS. 3 and 4, the Light Axis for each light source, which is in the positive “Z” plane of the container, is horizontal and intersects the axis “A” of the container. The two light axes are orthogonal to each other and 45° to a vertical plane including the Camera Detector Axis. The Detector Axis for the Camera/22, which is located in the negative “Z” plane, is approximately 45° from horizontal. With this relationship, the camera is looking at a dark field and seeing only light coming from the checks. The light sources and camera are supported by structure 28 that can be vertically displaced and horizontally displaced to reposition the system for different height/diameter containers.

To start an inspection, the machine will Transfer A Bottle To The Inspection Station/30. Following a time sufficient for the rotation of the bottle, by the drive wheel, to become stable, the Computer will Trigger The Camera/32. This starts the acquisition of the image. The following explanation is provided in terms of angles for purposes of clarity, but it should be understood that in a digitally controlled camera, instructions may be time based rather than defining actual angles so that when something is to occur in an approximate θ° (60° angle in the preferred embodiment), an approximate time (number of pulses) may be selected which approximately corresponds to that angle and where events are desired approximately every 7.5°, for example, the pulses could be divided by 8. When the query “Has Bottle Rotated θ°?”/34 (θ° or a selected number of pulses corresponding approximately to that angle of rotation can be set) is answered in the affirmative, the Computer will Transfer And Record The Acquisition/36. Once the Camera is triggered, the Camera will capture data until the Camera is again triggered (following the rotation through θ°). When the Computer answers the query “Y Acquisitions?” in the negative, the Computer will again Trigger The Camera/32. When the computer answers the query “Y Acquisitions?”/38 in the affirmative (“Y’ may be set and is six in the preferred embodiment), the Computer will Create An Image From Y Acquisitions To be Analyzed/40. The image created (a Critical Addition), where as in the preferred embodiment “Y” is six, will represent the entire (approximately) 360° surface of the finish and will be the Critical Addition of six acquisitions each imaging eight illuminations.

The critical addition will be made in a manner that will maximize the data that indicates that a defect is present. The Critical Addition can represent for each pixel location, the highest intensity of the corresponding pixel in all six Acquisitions which will make up the Critical Addition. Then, when the Computer answers the inquiry Next Bottle?/44 in the affirmative, the next bottle can be processed.

An image processing technique may be used to enhance the signal created by checks from signal created by mold features of the container. First, a reference or “mask image”, can be created using a set of sample containers without defects running through the inspection setup (containers without defects are referred as “good ware” and containers with defects that need to be removed during the inspection as “bad ware”). To incorporate all the signals created by good ware from different molds that may contain slightly different structural variations, and small variations of signals due to vibrations and rotation, a large number of images can be acquired and processed to create the mask image. These images contain almost all the possible variation of light reflection by mold marks, threads, seams, and curved surface of good ware. Mask image is created by combining the all the good ware images. A mask image is created and is compared with the reference mask created with good ware. The difference between the image and the mask shows the signals created by check defects.

FIG. 6 illustrates the operation of the light sources. When the Computer answers the query “Is Image Acquisition To Begin?”/52 in the affirmative, the Computer will Turn Lights “On” For Angle “α”/54 (“α” may be set and could be a defined number of pulses). When the Computer answers the query “Has Container Rotated “φ°”/56 in the affirmative (φ can be set), and answers the query “Has Container Rotated θ°?”/58 in the negative, the light sources will again be turned “on”. When this inquiry is answered in the affirmative (θ/φ pulse per acquisition), and the query Have “Y” Images Been Acquired?/60”, in the negative the entire surface has not been imaged and the entire process can be repeated until “Y” images have been acquired (Y pulses per acquisition). Then, when the computer answers the inquiry “Has Next Container Been Sensed?”/62 in the affirmative, the entire process can be repeated for the next bottle. If the lights are to be on for the entire time that the camera is triggered (α can be set to equal θ°).

To reduce noise, α is, in the preferred embodiment, defined so that the surface will be illuminated a small portion (25%) of the angle φ°. Checks that will cause a container to be rejected have been found to be imaged when the light sources are “on” only a small fraction of α. This fraction can be empirically varied to achieve a desired result. While the imaging process has been disclosed with reference to checks in the finish area of the container, it can be used to identify body or heel checks and other defects.

FIG. 7 is a timing diagram for an Acquisition comprised of light sources turned on α degrees for every φ° (7.5° in the preferred embodiment) through θ° (60° in the preferred embodiment). The lower the ratio of α/φ°, the less noise will be available to interfere with the desired signal.

The light sources 70 (FIGS. 8 and 9) are mirror images and are segments of an arc. As shown the light source, mounted on a flat panel 71, is perpendicular to the Light Axis and faces the finish of the container 10 which is shown in dotted lines. The segment has inner and outer (or three or four, . . . ) rows of LED's 72 with the central LED's 74, which define the Light Axis, standing parallel to the Light Axis and with the remaining LED's being progressively tilted toward the light axis as they proceed away from the Light Axis. The preferred location of the Light Axis is at the sealing surface 74 but it can be located from the sealing surface to the bottom of the finish. The ideal geometry that the preferred embodiment attempts to approach is that of conical illumination, where the top and bottom of the cone are dark so that the camera will not see any direct reflections of light. Viewing the finish as a torus, this conical geometry allows the maximum light to be projected onto the finish with direct reflection. Only an anomaly in the finish (a check) will generate direct reflections to the camera.

This apparatus has following advantages: because the area sensor image an area of the bottle, it is possible to detect almost all the checks in that region. This make the inspection is independent of the specific orientation and location of the check, and thus enable detecting “new” checks without changing the setup. The positioning of the area array sensors and light sources would not depend essentially on the geometry of the bottle. It will be easier to setup for most of the containers with little or no adjustments. 

1. A machine for inspecting a glass container at an inspection station for defects comprising: means for rotating a glass container at the inspection station, a light source comprising a first light source having a horizontal axis and a second light source having a horizontal light axis, for illuminating a selected portion of the rotating glass container, said light source having a selected “on” time followed by a selected “off” time, means for turning said light source “on” and “off” a plurality of consecutive times, said bottle rotating through a defined angle of rotation while said light source is successively “on” and “off” said plurality of times, a camera including a triggerable imaging portion for imaging the selected illuminated portion of the glass container, and including a detector axis, said camera having an exposure time at least equal to the time required for the rotating glass container to rotate through said defined angle of rotation, with the camera and light source aligned, with each light source horizontal axis aligned in the positive Z-plane of the glass container orthogonal to each other and 45° to a vertical plane including the camera detector axis, and with the camera detector axis aligned 45° from horizontal in the negative Z-plane of the glass container, wherein a dark field of view is presented to the camera with only light reflected from a defect detected by the camera; means for triggering the imaging portion of said camera when the bottle is at the beginning and end of at least one of said defined angle of rotation so that the camera will continuously image said selected portion of the container as said glass container rotates through said defined angle of rotation, and means for capturing and transferring the image when the triggering means is triggered at the end of said defined angle of rotation.
 2. A machine for inspecting glass containers at an inspection station according to claim 1, wherein the selected portion is the finish portion of the glass container.
 3. A machine for inspecting glass containers at an inspection station according to claim 2, wherein the defect is a check.
 4. A machine for inspecting glass containers at an inspection station according to claim 1, wherein the angle defined by said defined angle of rotation is a portion of 360 degrees.
 5. A machine for inspecting glass containers at an inspection station according to claim 1, wherein said light source comprise a pair of LED panels that are mutually perpendicular.
 6. A machine for inspecting a glass container at an inspection station for defects, the machine including a drive wheel configured to rotate the container more than 360 degrees, the machine for inspecting comprising: a light source comprising a first light source having a horizontal axis and a second light source having a horizontal light axis, for illuminating a selected portion of the rotating glass container, said light source having a selected “on” time followed by a selected “off” time; a camera including a triggerable imaging portion for imaging the selected illuminated portion of the glass container and including a detector axis, said camera having an exposure time at least equal to the time required for the rotating glass container to rotate through said defined angle of rotation, with the camera and light source aligned, with each light source horizontal axis aligned in the positive Z-plane of the glass container orthogonal to each other and 45° to a vertical plane including the camera detector axis, and with the camera detector axis aligned 45° from horizontal in the negative Z-plane of the glass container, wherein a dark field of view is presented to the camera with only light reflected from a defect detected by the camera; and a computer configured to turn said light source “on” and “off” a plurality of consecutive times, with said bottle rotating through a defined angle of rotation while said light source is successively “on” and “off” said plurality of times, the computer configured to trigger the imaging portion of said camera when the bottle is at the beginning and end of at least one of said defined angle of rotation so that the camera will image continuously said selected portion of the container as said glass container rotates through said defined angle of rotation, and capture and transfer the image at the end of said defined angle of rotation.
 7. The machine for inspecting glass containers at an inspection station according to claim 6, including the computer configured to define a critical addition of the plurality of recorded images, within the defined angle, for inspection for defects.
 8. The machine for inspecting glass containers at an inspection station according to claim 7, wherein the critical addition is composed of six acquisitions, with each acquisition composed of eight illuminations of the said selected portion of the container.
 9. The machine for inspecting glass containers at an inspection station according to claim 6, wherein the selected portion is a finish of the glass container.
 10. The machine for inspecting glass containers at an inspection station according to claim 6, wherein the defect is a check.
 11. The machine for inspecting glass containers at an inspection station according to claim 6, wherein the angle defined by said defined angle of rotation is a portion of 360 degrees.
 12. The machine for inspecting glass containers at an inspection station according to claim 6, wherein said light source comprise a pair of LED panels that are mutually perpendicular. 